home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / C / Games / Arashi 1.1.1 / source code / Game Source / jam src / STStruct.h < prev    next >
Encoding:
C/C++ Source or Header  |  1993-03-14  |  1.8 KB  |  93 lines  |  [TEXT/KAHL]

  1. /*/
  2.      Project Arashi: STStruct.h
  3.      Major release: Version 1.1d2, 9/5/95
  4.  
  5.      Last modification: Sunday, March 14, 1993, 16:28
  6.      Created: Sunday, March 3, 1991, 7:22
  7.  
  8.      Copyright © 1991-1993, Juri Munkki
  9. /*/
  10.  
  11. typedef struct
  12. {
  13.     int                points;
  14.     int                count;
  15.     unsigned int    prob;
  16.     Fixed            speed;
  17.     int                color;
  18. }    AnyTanker;
  19.  
  20. enum    {    FlipTank, FuseTank, PulsTank, TANKTYPES    };
  21.  
  22. typedef    struct
  23. {
  24.     int                lvNumber;
  25.     int                lvField;
  26.     int                lvColor;
  27.     long            lvBonus;
  28.     int                lvNext;
  29.     long            lvStBonus;
  30.     int                lvType;
  31.  
  32.     int                plMaxMove;
  33.     int                plSuperZaps;
  34.  
  35.     int                shSpeed;
  36.     int                shPower;
  37.     int                shColor[5];
  38.  
  39.     int                flPoints;
  40.     int                flCount;
  41.     unsigned int    flProb;
  42.     Fixed            flSpeed;
  43.     int                flRot;
  44.     int                flColor;
  45.  
  46.     int                fuPoints;
  47.     int                fuBullseye;
  48.     int                fuCount;
  49.     unsigned int    fuProb;
  50.     int                fuWarpP;
  51.     int                fuPlayerPlus;
  52.     int                fuColor[5];
  53.  
  54.     int                puPoints;
  55.     int                puCount;
  56.     unsigned int    puProb;
  57.     Fixed            puSpeed;
  58.     int                puRot;
  59.     int                puTime;
  60.     int                puColor;
  61.     int                puPulsDepth;
  62.  
  63.     AnyTanker        tk[3];
  64.     
  65.     int                spPoints;
  66.     unsigned int    spProb;
  67.     Fixed            spSpeed;
  68.     int                spStart;
  69.     int                spTop;
  70.     int                spPlasma;
  71.     Fixed            spPlSpeed;
  72.     int                spPlPoints;
  73.     int                spSpikePoints;
  74.     int                spColor[3];    
  75.  
  76.  
  77.  
  78.     int        boredomCount;    /*    If activeCount<boredomCount:                */
  79.     long    boredProb;        /*        probIncrease=boredProb                    */
  80.     int        endTimer;        /*    When timer==0, fly to next level.            */
  81.     int        ShowSpikesMsg;
  82.     int        Doomsday;
  83.     
  84.     /*    The following variables are not directly from the resource data:    */
  85.     int        activeCount;    /*    Total number of aliens that are active.        */
  86.     int        totalCount;        /*    Total number of aliens left on that level.    */
  87.     int        starCount;        /*    Number of baby-stars needed on this level.    */
  88.     int        edgeCount;        /*    Fly thru when edgeCount == totalCount.        */
  89.     long    probIncrease;
  90. }    LevelInfo;
  91.  
  92. GLOBAL    LevelInfo    ThisLevel;
  93.